import java.util.zip.CheckedOutputStream;

public class Main {
    public static void main(String[] args) {
    Cat.setAnimalType("猫");
    Dog.setAnimalType("狗");

    Cat c1=new Cat();
    Dog d1=new Dog();

    c1.setName("小白");
    c1.setAge(1);
    c1.setColour("白色");
    System.out.println(c1.getName() + Cat.getAnimalType());
    System.out.println(c1.getAge() + "岁");
    System.out.println(c1.getColour());
    c1.eat();

    d1.setName("小黑");
    d1.setAge(2);
    d1.setColour("黑色");
    System.out.println(d1.getName() + Dog.getAnimalType());
    System.out.println(d1.getAge() + "岁");
    System.out.println(d1.getColour());
    d1.bellow();
    d1.eat();
    }
}